package com.youthHostel.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.youthHostel.pojo.house;
import com.youthHostel.pojo.leasecontract;

public interface LeaseContractService {

	int addLc(leasecontract leaseContract);
	
	PageInfo<leasecontract> findAllLc(int index);
	
	int removeLcById(int id);
	
	leasecontract findLcMesById(int id);
	
	int updateLc(leasecontract leaseContract);
	
	//List<house> findHouseByKey(String name,int index);
}
